package com.base.entity.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value="sys_user")
public class User {
    @TableId(value = "user_id",type= IdType.AUTO)
    private Long userId;

    /** 用户昵称 */
    @TableField("nick_name")
    private String nickName;

    /** 用户邮箱 */
    @TableField("email")
    private String email;

    /** 手机号码 */
    @TableField("phonenumber")
    private String phonenumber;

    /** 用户性别 */
    @TableField("sex")
    private String sex;

    @TableField("dept_real_id")
    private String deptRealId;

    @TableField("dept_id")
    private Long deptId;

    @TableField("user_real_id")
    private String userRealId;
}
